package com.wb.mas.entity;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class AuthBackResponse extends RootApiBean<AuthBackResponse.DataBean> {


    /**
     * data : {"authPageCode":"bank_info_code","bankCard":"222222222","bankCardImages":[{"fileType":13,"imageName":"file2","imagePath":"/Users/wxc/Desktop//APP/2018-12/20/9fpKkFAU.jpg/kSvc","imageUrl":"http://47.92.143.84/Users/wxc/Deskt/9fpKkFAU.jpg/kSvcdLHz.jpg"}],"bankCode":"common_bankname_CIMB","bankStatus":"0","bankValue":"","realName":"","userUuid":"123456789"}
     */


    public DataBean getData() {
        return data;
    }

    public void setData(DataBean dataX) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * authPageCode : bank_info_code
         * bankCard : 222222222
         * bankCardImages : [{"fileType":13,"imageName":"file2","imagePath":"/Users/wxc/Desktop//APP/2018-12/20/9fpKkFAU.jpg/kSvc","imageUrl":"http://47.92.143.84/Users/wxc/Deskt/9fpKkFAU.jpg/kSvcdLHz.jpg"}]
         * bankCode : common_bankname_CIMB
         * bankStatus : 0
         * bankValue :
         * realName :
         * userUuid : 123456789
         */

        private String authPageCode;
        private String bankCard;
        private String bankCode;
        private String bankStatus;
        private String bankValue;
        private String realName;
        private String userUuid;
        private List<BankCardImagesBean> bankCardImages;

        public String getAuthPageCode() {
            return authPageCode;
        }

        public void setAuthPageCode(String authPageCode) {
            this.authPageCode = authPageCode;
        }

        public String getBankCard() {
            return bankCard;
        }

        public void setBankCard(String bankCard) {
            this.bankCard = bankCard;
        }

        public String getBankCode() {
            return bankCode;
        }

        public void setBankCode(String bankCode) {
            this.bankCode = bankCode;
        }

        public String getBankStatus() {
            return bankStatus;
        }

        public void setBankStatus(String bankStatus) {
            this.bankStatus = bankStatus;
        }

        public String getBankValue() {
            return bankValue;
        }

        public void setBankValue(String bankValue) {
            this.bankValue = bankValue;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public String getUserUuid() {
            return userUuid;
        }

        public void setUserUuid(String userUuid) {
            this.userUuid = userUuid;
        }

        public List<BankCardImagesBean> getBankCardImages() {
            return bankCardImages;
        }

        public void setBankCardImages(List<BankCardImagesBean> bankCardImages) {
            this.bankCardImages = bankCardImages;
        }

        public static class BankCardImagesBean {
            /**
             * fileType : 13
             * imageName : file2
             * imagePath : /Users/wxc/Desktop//APP/2018-12/20/9fpKkFAU.jpg/kSvc
             * imageUrl : http://47.92.143.84/Users/wxc/Deskt/9fpKkFAU.jpg/kSvcdLHz.jpg
             */

            private int fileType;
            private String imageName;
            private String imagePath;
            private String imageUrl;


            public void setLocalPath(String localPath) {
                this.localPath = localPath;
            }

            public String localPath;

            public String getLocalPath() {
                return localPath;
            }

            public boolean isHasDisplayedImg() {
                return !TextUtils.isEmpty(localPath) || !TextUtils.isEmpty(imageUrl);
            }
            public int getFileType() {
                return fileType;
            }

            public void setFileType(int fileType) {
                this.fileType = fileType;
            }

            public String getImageName() {
                return imageName;
            }

            public void setImageName(String imageName) {
                this.imageName = imageName;
            }

            public String getImagePath() {
                return imagePath;
            }

            public void setImagePath(String imagePath) {
                this.imagePath = imagePath;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }
        }
    }
}
